<?php

class Form_Appointment extends Form_Custom_General {

    public function init() {
   
       $app_member_id = $this->createElement('select', 'app_member_id')
                ->setRequired(TRUE)
                ->addValidator('NotEmpty', true, array('messages' => array('isEmpty' => 'Please select client')))
                ->addFilters(array(
                    new Zend_Filter_StringTrim()
                   
                ))
                ->setAttribs(Array('class' => "form-control select2", "placeholder" => ""));
        $this->addElement($app_member_id);
        
        $app_date = $this->createElement('text', 'app_date')
                #->setRequired(TRUE)
                ->addFilters(array(
                    new Zend_Filter_StringTrim()
                ))
                #->addValidator('NotEmpty', true, array('messages' => array('isEmpty' => 'Please select country.')))
                ->setAttribs(Array('class' => "form-control  appointment-client_datepicker"));
        $this->addElement($app_date);
        
        $app_note = $this->createElement('textarea', 'app_note')
                #->setRequired(TRUE)
                ->addFilters(array(
                    new Zend_Filter_StringTrim()
                ))
                #->addValidator('NotEmpty', true, array('messages' => array('isEmpty' => 'Please select country.')))
                ->setAttribs(Array('rows' => "3",'class' => "form-control appointment-client_note"));
        $this->addElement($app_note);
        
        
   

       
    }

}